<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/10/25
 * Time: 15:52
 */

namespace app\api\model;


class BannerItem extends BaseModel
{
    protected $hidden = ['img_id','banner_id','update_time','delete_time'];

    public function img(){
        return $this->belongsTo('Image','img_id','id');
    }

}